package com.fpt.mockproject.j21.absd.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import com.fpt.mockproject.j21.absd.modelattribute.OrganisationDetail;

@Controller
@RequestMapping(value = "/organisationDetail")
public class OrganisationDetailController {
	
	@Autowired
	private OrganisationDetail organisationDetail;
	
	@RequestMapping(method = RequestMethod.GET)
	public ModelAndView organisationDetailPage() {
		return new ModelAndView("main/organisation_detail", "organisationDetail", this.organisationDetail);
	}
}
